#ifndef STUDETINFORMATION_H
#define STUDETINFORMATION_H

#include <QWidget>
#include "student.h"
#include "QVector"
#include"QMap"
#include"filewriteandread.h"
#include"stu_add_dialog.h"
#include"stu_mod_dialog.h"
namespace Ui {
class StudetInformation;
}

class StudetInformation : public QWidget
{
    Q_OBJECT

public:
    explicit StudetInformation(QWidget *parent = nullptr);
    ~StudetInformation();
    void printfTable();
    QMap<QString,Student> student;

    void closeEvent(QCloseEvent *event);
signals:
    void is_close();
private slots:
    void on_pushButton_save_clicked();

    void on_pushButton_close_clicked();

    void on_pushButton_add_clicked();


    void on_pushButton_mod_clicked();

    void on_pushButton_delet_clicked();

private:
    Ui::StudetInformation *ui;
    stu_add_Dialog* add_dialog;
    stu_mod_Dialog* mod_dialog;
};

#endif // STUDETINFORMATION_H
